package com.yykj.user.center.server.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/6 13:14
 */
//问诊信息
@Data
public class AddConsultationOrderForm {

    @NotNull(message = "请传入医院Id")
    private Integer hospitalId;

    @NotBlank(message = "请传入医院名称")
    private String hospitalName;

    @NotNull(message = "请传入科室ID")
    private Integer deptId;

    @NotBlank(message = "请传入科室名称")
    private String deptName;

    @NotBlank(message = "请传入医生Id")
    private String doctorId;

    @NotBlank(message = "请传入医生名称")
    private String doctorName;

    @ApiModelProperty("上午还是下午")
    @NotBlank(message = "请传入上午还是下午")
    private String morningOrAfternoon;


    @ApiModelProperty("就诊开始时间")
    @NotNull(message = "请传入就诊开始时间")
    private String startDatetime;

    @ApiModelProperty("就诊结束时间")
    @NotNull(message = "请传入就诊结束时间")
    private String endDatetime;

    @ApiModelProperty("就诊卡号ID")
    @NotBlank(message = "请传入就诊卡号ID")
    private String patientCardId;

    @ApiModelProperty("患者ID")
    private String patientId;

    @ApiModelProperty("预约日期")
    @NotNull(message = "请传入预约日期")
    private String date;

    @ApiModelProperty("病情描述")
    @NotBlank(message = "请病情描述")
    private String description;

    @ApiModelProperty("订单类型：11、图文问诊 12、语音问诊 13、视频问诊 14、检查订单 15、检验订单 16、续方问诊(图文问诊)")
    private Integer orderType;

    @ApiModelProperty("就诊卡对应的名称")
    private String patientName;

    @ApiModelProperty("图片列表")
    private List<String> imgPath;

    @ApiModelProperty("appointId")
    @NotNull(message = "appointId不能为空")
    private Integer appointId;


}
